<script>
$(function() {
	$( "#ngaysinhsv" ).datepicker({
								showOtherMonths: true,
								selectOtherMonths: true,
								changeMonth: true,
								changeYear:true,
								yearRange:"-28",
								dateFormat: "dd-mm-yy",
								showOn: "both",
								buttonImage:$('#root').val()+"img/calendar.jpg",
								buttonImageOnly: true
								});
	

});

</script>

<div id="tabs">
	<ul>
       <li><?php echo $this->Html->link(__('Danh sách sinh viên', true), array('controller'=>'sinhviens','action' => 'index')); ?></li>
        <li id="current"><?php echo $this->Html->link(__('Thêm sinh viên', true), array('action' => 'add')); ?></li>
        <li><?php echo $this->Html->link(__('Thêm sinh viên từ file', true), array('controller'=>'uploads','action' => 'uploadsv')); ?></li>
	</ul>
 </div>

<div class="sinhviens form">
<?php echo $this->Form->create('Sinhvien');?>

	<fieldset>
		<legend><?php __('Thêm Sinh Viên'); ?></legend>
	<?php
		//echo $this->Form->input('user_id');
		echo $this->Form->input('root',array('id'=>'root','type'=>'hidden','value'=>$this->webroot));
		echo $this->Form->input('lop_id',array('label'=>'Tên Lớp'));
		echo $this->Form->input('mssv',array('label'=>'MSSV'));
		echo $this->Form->input('tenSV',array('label'=>'Họ Tên'));
		echo $this->Form->input('ngaySinhSV',array('id'=>'ngaysinhsv','type'=>'text','label'=>'Ngày Sinh'));
		
		echo $this->Form->input('gioiTinhSV',array('label'=>'Giới Tính'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('    Lưu    ', true));?>
</div>
<!--<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Ds Sinh Viên', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Ds Lớp', true), array('controller' => 'lops', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Lop', true), array('controller' => 'lops', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Kết Quả', true), array('controller' => 'ketquas', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Ketqua', true), array('controller' => 'ketquas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Khmauks', true), array('controller' => 'khmauks', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Khmauk', true), array('controller' => 'khmauks', 'action' => 'add')); ?> </li>
	</ul>
</div>-->